package com.carbon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yeshusheng
 * @version 1.0.0
 * @date 2021/6/16 13:55
 * @description
 */
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("com.carbon.*.mapper")
@ComponentScan({"com.carbon.*.controller","com.carbon.*.service"})
@SpringBootApplication
public class ServiceMemberApplication {
    public static void main( String[] args ){
        SpringApplication.run(ServiceMemberApplication.class, args);
    }

}
